package com.hiwan.system.pojo.tree;

public class TreeNode {
	
	/**
	 * 图标 class
	 */
	public final static String ICON_ORG = "ace-icon fa fa-university blue";
	public final static String ICON_DEPT = "ace-icon fa fa-sitemap   green";
	public final static String ICON_USER = "ace-icon fa fa-user grey";
	
	private String id;
	private String pid;
	private String text;
	private String type;
	private String nodeType;
	private TreeNodeAttr treeNodeAttr;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getNodeType() {
		return nodeType;
	}

	public void setNodeType(String nodeType) {
		this.nodeType = nodeType;
	}

	public TreeNodeAttr getTreeNodeAttr() {
		return treeNodeAttr;
	}

	public void setTreeNodeAttr(TreeNodeAttr treeNodeAttr) {
		this.treeNodeAttr = treeNodeAttr;
	}
	
	public static class TreeNodeAttr {
		private String cssClass;
		private String dataIcon;
		private String id;
		private String hasChildren;

		public String getCssClass() {
			return cssClass;
		}

		public void setCssClass(String cssClass) {
			this.cssClass = cssClass;
		}

		public String getDataIcon() {
			return dataIcon;
		}

		public void setDataIcon(String dataIcon) {
			this.dataIcon = dataIcon;
		}

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public String getHasChildren() {
			return hasChildren;
		}

		public void setHasChildren(String hasChildren) {
			this.hasChildren = hasChildren;
		}
	}
	
}